package javacore.fundamentals.accessmodifier.protct;

public class AllProtected {
	protected String name;
	protected double money;

	public AllProtected(String name, double money) {
		this.name = name;
		this.money = money;
	}
	
	protected void printInfo(){
		System.out.println("name" + " " + money);
	}
}
